﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace demo.Pages
{
    public partial class LeftMenuSelector : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void TreeView1_TreeNodeDataBound(object sender, TreeNodeEventArgs e)
        {
            DataRowView _drv = (DataRowView)e.Node.DataItem;
            e.Node.NavigateUrl = "javascript:parent.setReturnValue('" + _drv["menuid"] + "','" + _drv["text"] + "');";
        }
    }
}
